
<div class="container">

<div class="row">
<ul class="nav">
    <a class="navbar-brand" [routerLink]="['index']" >
        <img src="http://localhost/1545705035398.jpg" width="30" height="30" alt="">
      </a>

    <li class="nav-item">
      <a class="nav-link" [routerLink]="['newslist']">新闻列表</a>
    </li>
    <li class="nav-item">
      <a class="nav-link" [routerLink]="['editnews','add']">新闻编辑</a>
    </li>
    <li class="nav-item">
      <a class="nav-link" [routerLink]="['newslistforuser']">客户用新闻列表</a>
    </li>
    <li class="nav-item">
      <a class="nav-link" [routerLink]="['showcarousel']">轮播区显示</a>
    </li>
    <li class="nav-item">
      <a class="nav-link" [routerLink]="['uploadfile']">文件上传</a>
    </li>
    <li class="nav-item">
      <a class="nav-link" [routerLink]="['index']">Bootstrap</a>
    </li>

    <li class="nav-item dropdown">
        <a class="nav-link dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">下拉导航</a>
        <div class="dropdown-menu">
          <a class="dropdown-item" [routerLink]="['uploadfile']" >上传图片</a>
          <a class="dropdown-item" >Another action</a>
          <a class="dropdown-item" >Something else here</a>
          <div class="dropdown-divider"></div>
          <a class="dropdown-item" >Separated link</a>
        </div>
      </li>

  </ul>
</div>
  
  
  <router-outlet></router-outlet>


  <!-- FOOTER -->
  <footer class="container">
      <p class="float-right"><a href="#">Back to top</a></p>
      <p>&copy; 2017-2018 Company, Inc. &middot; <a href="#">Privacy</a> &middot; <a href="#">Terms</a></p>
    </footer>
</div>